home *** CD-ROM | disk | FTP | other *** search
- global frameSpeed, direction, currentCursor
-
- on exitFrame me
- if direction = "right" then
- if the frameLabel <> "Last" then
- go(the frame + frameSpeed)
- if soundBusy(3) = 0 then
- sound(3).play(member("VisorHum"))
- end if
- end if
- else
- if direction = "left" then
- if the frameLabel <> "Start" then
- go(the frame - frameSpeed)
- if soundBusy(3) = 0 then
- sound(3).play(member("VisorHum"))
- end if
- else
- go("First")
- end if
- end if
- end if
- if (direction <> "left") or (direction <> "right") then
- go(the frame)
- end if
- end
-
- on prepareFrame me
- if currentCursor <> 1 then
- cursor([member("AlienHand"), member("AlienHand Mask")])
- currentCursor = 1
- end if
- if soundBusy(4) then
- sound(4).volume = sound(4).volume - 10
- end if
- end
-